const express = require('express')
// 创建路由对象
const router = express.Router()
// 2. 导入需要的验证规则对象
const { reg_login_schema } = require('../schema/user')
const userHandler = require('../router_handler/user')
router.post('/login', reg_login_schema.reglog, userHandler.login)
router.get('/test', userHandler.test)

module.exports = router